package com.chiry.springTask.schdure;


import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;

@EnableScheduling
@Component
public class schdureTask {

    @Scheduled(cron = "0/10 * * * * ?")
    public void test(){
        System.out.println("===========xxx========");
    }
}
